* {
    -moz-box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
}
body {
    font-family: Verdana,Arial,sans-serif;
    font-size: 0.7em;
    padding:10px;
}

.logo {
    background-image: url("assets/h4logo_small.png") !important;
    background-repeat: no-repeat !important;
    width: 190px;
    height: 38px;
}
.db-list li {
    list-style: none;
    background-image: url(assets/b_databasePressed.png);
    background-position: left;
    background-repeat: no-repeat;
    padding-left: 30px;
    line-height: 17px;
}
.db-list li a{
    text-decoration: none;
}

/*  UI THEME FIX */
.ui-button .ui-button-text {
    line-height: 1em;
}
/*  LAYOUT */
.ui-layout-pane {
    padding: 0 !important;
    border:none !important;
}

.ui-layout-content {
    /*background-color: gray;*/
    overflow:hidden !important;
    height: 100%;
    width: 100%;
}

.ui-layout-mask {
    background: #C00 !important;
    opacity: .20 !important;
    filter: alpha(opacity=20) !important;
}

/* layout toggler icon from jquery ui */
.ui-layout-toggler {
    /* background-color: #FFF; */
    opacity:        .60;
    filter: alpha(opacity=60); /* IE 8,9 */
}
.ui-layout-resizer-open-hover .ui-layout-toggler,
.ui-layout-toggler-hover {
    opacity:        1;
    filter: alpha(opacity=100);
}
.ui-layout-toggler-west .ui-icon,
.ui-layout-toggler-east .ui-icon  { margin-left:   -5px; }   /*tweak arrow horizontal-center */
.ui-layout-toggler-west-closed .ui-icon,
.ui-layout-toggler-east-open .ui-icon {
    background-position: -48px -192px;    /* ui-icon-circle-triangle-e */
    background-position: -144px -16px;    /* ui-icon-triangle-2-e-w */
    background-position: -32px -16px;     /* ui-icon-triangle-1-e */
}
.ui-layout-toggler-east-closed .ui-icon,
.ui-layout-toggler-west-open .ui-icon {
    background-position: -80px -192px;    /* ui-icon-circle-triangle-w */
    background-position: -144px -16px;    /* ui-icon-triangle-2-e-w */
    background-position: -96px -16px;     /* ui-icon-triangle-1-w */
}

.ui-layout-toggler-south-open  .ui-icon{
    background-position: -64px -20px;
    width:16px;
    margin-left:12px;
}
.ui-layout-toggler-south-closed  .ui-icon{
    background-position: 0px -20px;  /* ui-icon-triangle-1-n  */
    width:16px;
    margin-left:12px;
}

#layout_panes{
    /*position:relative; 
    background-color: red;*/
    height: 100%;
    width: 100%;
}

/* overwrite ui */
.ui-tabs-panel {
    overflow: auto;
    clear:both;
    /*position: absolute;
    top: 46px;
    bottom: 2px;*/
    padding: 2px !important;
}
.ui-tabs .ui-tabs-nav li a {
    padding: 0.2em 0.5em !important;
}

.ui-resizable-resizing {
    z-index: 9999999 !important;
}
.ui-widget {
}


.tab_ctrl{
    position: absolute;
}

/* -------------------------------------------- */

.logged-in-only{
    /*visibility: hidden;*/
}
.logged-out-only{
    /*visibility: visible;*/
}
.menu-or-popup{
    z-index: 990;
}

.frame_container{
    bottom: 0;
    padding: 0.2em !important;
    position: absolute;
    top: 30px;
    width: 99%;
}

iframe {
    width:100%;
    height:100%;
    border:none;
}

/* INPUT FORM ----------------------------------   */
fieldset {
    padding:1em; border:0; margin-top:10px;
}
fieldset > div, .input-row{
    display:table-row;
    /*padding-bottom:0.2em;*/
}
fieldset > div > input.text, fieldset > div > select.text{
    margin-bottom: 0.5em;
}

fieldset > div > .header, 
fieldset > div > .header_narrow{
    display:table-cell;
    width:150px;
    min-width:150px;
    text-align:right;
    padding-top:0.4em;
    padding-right:1em;
}
fieldset > div > .header_narrow{
    width:50px;
    min-width:50px;
}
div.prompt{
    font-size:0.8em;
    opacity: 0.55;
}
fieldset > div > .input-cell{
    display:table-cell;
    min-width:120px;
    padding-bottom:2px;
}
.input-cell > input{
    margin-right: 0.4em;
}
div.input-div:hover > #btn_input_clear {
    display: inline-block;
}
div.input-div > #btn_input_clear {
    display: none;
}

/* margin-bottom:2px; */
input.text, select.text {
    padding-bottom: 0.2em;
}

.readonly {
    color: #999999;
}
.required {
    color: #CC0000;
    font-weight: bold;
}
.recommended {
    font-weight: bold;
}

.separator {
    border-top: 1px solid #A4B4CB;
    padding: 10px 0;
    text-align:left;
    width:100%;
}

.smallbutton{
    width: 16px !important;
    height: 16px !important;
    margin-left: 0.4em;
}

/* FOR SELECT */

optgroup {
    font-style: normal;
    font-weight:bold;
    background-color: #ECF1FB;
    padding:0;
    border-top:1px solid #A4B4CB;
    margin-top:5px;
    text-indent: 5px;
}

.termHeader {
    font-weight: bold;
    color: black;
}
.depth0 {
    margin-left: 0px;
}
.depth1 {
    margin-left: 10px;
}
.depth2 {
    margin-left: 20px;
}
.depth3 {
    margin-left: 30px;
}
.depth4 {
    margin-left: 40px;
}
.depth5 {
    margin-left: 50px;
}
.depth6 {
    margin-left: 60px;
}
.depth7 {
    margin-left: 70px;
}

/* -------------------------------------------- */
/*  SEARCH RESULT */

.bookmarked {
    background-image: url(assets/star-red.png);
    height:14px;
}
.unbookmarked {
    background-image: url(assets/star-white.png);
}


.recordDiv {
    -moz-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    background:#EEE;
    background:-moz-linear-gradient(center top, #FFFFFF, #EEEEEE) repeat scroll 0 0 transparent;
    background:-webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#EEEEEE));
}

div.recordDiv:hover {
    -moz-box-shadow:0 1px 4px #000;
    -webkit-box-shadow:0 1px 4px #000;
    box-shadow:0 1px 4px #000;
    z-index: 2;
    background:-moz-linear-gradient(center top, #EFEFEF, #DDDDDD) repeat scroll 0 0 transparent;
    background:-webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#DDD));
}

H2 {
    color: #6A7C99;
    font-size:1.2em;
}

h3:hover > #rec_add_link, div.recordDiv:hover > .rec_edit_link {
    display: block;
}
h3 > #rec_add_link, div.recordDiv > .rec_edit_link {
    position: absolute;
    display: none;
    height: 16px;
    width: 16px;
    top: 0.4em;
    right: 0.4em;
}
/*
h3 > #rec_edit_link{
    display: none;
    height: 16px;
    width: 16px;
    float: right;
}*/


div .selected, div .selected:hover{
    background: -moz-linear-gradient(center top , #E6F8FD, #BEE4F8) repeat scroll 0 0 transparent;
    background: -webkit-gradient(linear, left top, left bottom, from(#E6F8FD), to(#BEE4F8));
    border-color: #62A7F8;
}

div .selected_last{             
    border: 2px solid #62A7F8 !important;
}


.recordDiv .recordIcons {
    white-space: nowrap;
    width: 35px;
}

.recordDiv .recTypeThumb {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: absolute;
    text-align: center;
    margin: 0;
    left: 0;
    right: 0;
    top: 0;
    height: 78px;
    opacity: 0.5;
}
.recordDiv .recordTitle {
    color: #666666;
    position: absolute;
    text-align: left;
    overflow: hidden;

    /*line-height: 12px;*/
}

/* THUMBS VIEW */
.thumbs .recordDiv {
    -moz-user-select: none;
    border: 3px solid #FFFFFF;
    border-collapse: collapse;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 2px 4px #BBBBBB;
    display: inline-block; /* !important; */
    font-size: 0.9em !important;
    margin: 6px;

    height: 128px;
    width: 128px;
    overflow: visible;
    padding: 0;
    position: relative;
}
.thumbs .recordDiv:hover {
    z-index:10;
    -moz-box-shadow:0px 3px 8px #666;
    -webkit-box-shadow:0px 3px 8px #666;
    box-shadow:0px 3px 8px #666;
    height:134px;
    width:134px;
    margin:3px;
}

.thumbs .recordDiv .recordTitle {
    bottom: 18px;
    left: 3px;
    right: 3px;
    height: 25px;
    width: 125px;
}

.thumbs .recordDiv .recordIcons {
    bottom: 1px;
    left: 3px;
    position: absolute;
}
.thumbs .rec_edit_link {
    bottom: 1px;
    right:1px;
}

/* ICONS VIEW */
.icons .recordDiv {
    border: 3px solid #FFFFFF;
    border-collapse: collapse;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 1px 2px #BBBBBB;
    display: inline-block; /* !important; */
    font-size: 0.8em !important;
    height: 36px;
    margin: 6px;
    position: relative;
    width: 128px;
}
.icons div.recordDiv:hover{
    z-index:10;
    -moz-box-shadow:0px 3px 8px #666;
    -webkit-box-shadow:0px 3px 8px #666;
    box-shadow:0px 3px 8px #666;
    height:42px;
    width:144px;
    margin:0px -2px;
}

.icons .recordDiv .recTypeThumb {
    height: 30px;
    width: 30px;
}
.icons .recordDiv:hover .recTypeThumb {
    height:36px;
}

.icons .recordDiv .recordTitle {
    bottom: 0.1em;
    top: 0.1em;
    left: 42px;
    width: 75px;

    white-space: normal;
}

.icons .recordIcons {
    display: none;
}

.icons .rec_edit_link {
    right: 1px;
    top: 1px;
}


/* LIST VIEW */

.list .recordDiv {
    border-bottom: 1px solid #CCCCCC;
    border-collapse: collapse;
    border-radius: 0 0 0 0;
    border-top: 1px solid #FFFFFF;
    display: block; /* !important; */
    height: 2.6em;
    left: 0;
    margin: 0;
    overflow: hidden;
    padding: 0.4em 0.8em;
    position: relative;
    text-align: left;

    font-size: 0.9em !important;
}
.list .recordDiv .recTypeThumb {
    display: none;
}
.list .recordDiv .recordTitle {
    left: 54px;
    right: 32px;
    top: 3px;

    vertical-align: middle;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.list .recordDiv .recordIcons {
    min-width: 20px;
    display: inline-block;
}
/* SAVED SEARCHES */
div.saved-search:hover > .edit-delete-buttons, .recordDiv:hover > .edit-delete-buttons {
    display: inline-block;
}
div.saved-search > .edit-delete-buttons, .recordDiv > .edit-delete-buttons {
    display: none;
    position:absolute;
    right: 0.3em;
}
.edit-delete-buttons > .ui-button{
    height: 15px;
    width: 15px;
    padding-right:2px;
}

.saved-search .name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width:95%;
    display:inline-block;
    cursor: pointer;
    /*color:#515151;*/
}
.saved-search .name:hover{
    text-decoration:underline;
}

.ui-accordion .ui-accordion-content {
    padding: 0.1em;
}

/* for yox viewer */
.thumbnails a
{
    display: block;
    margin: 4px;
}
.thumbnails a img{ border: solid 1px Black; }
.thumbnails a:hover img{ border: solid 1px #aaa }

/* Tag cloud */
.tagsCloud ul{
    text-align:center;
    /*
    margin:1em 0;
    padding:.5em 10px;
    background:#71b5e9 url(bg_tags.gif) repeat-x;*/        
    }
.tagsCloud li{
    margin:0;
    padding:0;
    list-style:none;
    display:inline-block;
    }
.tagsCloud li a{
    /*text-decoration:none;
    color:#fff;*/
    padding:0 2px;    
    }
.tagsCloud li a:hover{    
    /*color:#cff400;*/
    }        

.tag1{font-size:0.8em;}
.tag2{font-size:0.9em;}
.tag3{font-size:1em;}
.tag4{font-size:1.1em;}
.tag5{font-size:1.2em;}

.facet_link {
    text-decoration: none;
}
.facet_link span:first-child{
    text-decoration: underline;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.horizontalmenu {
    border:none !important;
    background:none;
    padding:0;    
}
.ui-menu{
    z-index: 9999999 !important; 
}
.horizontalmenu > .ui-menu-item {
    display: inline-block;
    float: left;
    width: auto;
}

/* Allow Font Awesome Icons in lieu of jQuery UI and only apply when using a FA icon 
     Remove the jQuery UI Icon 
     Remove the jQuery UI Text Indent 
     Bump it up - jQuery UI is -8px  
      
     Bump it - jQuery UI is -8px
     Allow use of icon-large to be properly aligned       
*/     
.ui-icon[class*=" icon-"] {
    background: none repeat scroll 0 0 transparent;
    text-indent: 0;
    margin-top: -0.5em;
}

.ui-button-icon-only .ui-icon[class*=" icon-"] {
    /*margin-left: -7px;*/
}
.ui-icon.icon-large {
    margin-top: -0.75em;
}

.fancytree-container{
    overflow:hidden !important;
}

.heurist-helper1, .heurist-helper2{ /*display and visibility*/
    font-size: 0.8em;
}


/*
::-webkit-scrollbar-button {
    background: #8ea9b9
}*/